*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* 解决手机浏览器点击有选框的问题 */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
  overflow-x: overlay;
  overflow-y: overlay;
}

html,
* {
  /* 针对火狐浏览器不能自定义滚动条 */
  scrollbar-width: none;
}

html::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: transparent;
}

html::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  border-radius: 10px;
  border: 3px solid rgba(150, 150, 150, 0.4);
}

html::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
  background-color: rgba(150, 150, 150, 0.4);
}

html::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
  background-color: transparent;
}

::selection {
  background-color: #666666;
  color: #ffffff;
}

::-moz-selection {
  background-color: #666666;
  color: #ffffff;
}

:root {
  font-family: "PingFang SC", "Microsoft YaHei", "黑体", sans-serif;
}

a {
  text-decoration: none;
}

body {
  background-image: linear-gradient(45deg, #111111, #333333);
}
